package com.zlc.gulimall.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zlc.common.utils.PageUtils;
import com.zlc.gulimall.product.entity.BrandEntity;
import com.zlc.gulimall.product.entity.CategoryBrandRelationEntity;
import com.zlc.gulimall.product.vo.BrandRespVo;

import java.util.List;
import java.util.Map;

/**
 * 品牌分类关联
 *
 * @author zlc
 * @email sunlightcs@gmail.com
 * @date 2024-09-16 13:43:31
 */
public interface CategoryBrandRelationService extends IService<CategoryBrandRelationEntity> {

    PageUtils queryPage(Map<String, Object> params);

    void saveDetails(CategoryBrandRelationEntity categoryBrandRelation);

    List<BrandEntity> queryByCatId(Long catId);

    List<BrandRespVo> transToBrandRespVo(List<BrandEntity> list);
}

